package sw6.digipecs.widget.admin;

import sw6.digipecs.widget.dragdrop.DraggableView;
import android.content.Context;
import android.net.Uri;
import android.util.AttributeSet;
import android.widget.ImageView;

public class ImageStoreView extends ImageView implements DraggableView {

	private Uri mUri;
	private boolean mBeingDragged = false; 
	public ImageStoreView(Context context) {
		super(context);
	}
	public ImageStoreView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
	public Uri getUri()
	{
		return mUri; 
	}
	public void setUri(Uri uri)
	{
		mUri=uri; 
	}
	
	@Override
	public void setDragging(boolean b) {
		mBeingDragged = b;
	}
	
	@Override
	public boolean isDragging() {
		return mBeingDragged;
	}
}
